package com.tianci.parseeventbus;

import androidx.appcompat.app.AppCompatActivity;

import android.os.Bundle;

import com.tianci.parseeventbus.event.MessageEvent;

import org.greenrobot.eventbus.EventBus;

public class SecondActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_second);
        EventBus.getDefault().post(new MessageEvent("message"));
    }
}